package com.htfg.cardActivate.swagger2;

/**
 * @Auther: 王晨缘
 * @Date: 2018/10/24 0024 11:08
 * @Description:
 */
/*
@RestController
@RequestMapping(value="/swagger")
public class SwaggerController {
    @ApiOperation(value="获取用户信息", notes="根据id来获取用户详细信息")
    @ApiImplicitParam(name="id", value="用户ID", required=true, dataType="String",paramType = "query")
    @RequestMapping(value="/{id}", method= RequestMethod.GET)
    public Map<String,String> getInfo(@PathVariable String id) {
        Map<String ,String> map = new HashMap<String, String>();
        map.put("name", "张三");
        map.put("age", "34");
        System.out.println("id = "+id);
        return map;
    }
}*/
